package oopday03.Test01;

/**
 * 编写一个“学生类”。该类拥有属性：校名、学号、姓名、性别、成绩。要求符合javaBean规范，不能使用快捷键
 */
public class Test01 {
    String schoolName;
    String num;
    String name;
    char sex;
    int[] mark = new int[10];

    public Test01(String schoolName, String num, String name, char sex) {
        this.schoolName = schoolName;
        this.num = num;
        this.name = name;
        this.sex = sex;
    }

    public Test01() {

    }

    public String getSchoolName() {
        return schoolName;
    }

    public void setSchoolName(String schoolName) {
        this.schoolName = schoolName;
    }

    public String getNum() {
        return num;
    }

    public void setNum(String num) {
        this.num = num;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public char getSex() {
        return sex;
    }

    public void setSex(char sex) {
        this.sex = sex;
    }

    public int[] getMark() {
        return mark;
    }

    public void setMark(int[] mark) {
        this.mark = mark;
    }
}
